package com.base.common;

import java.util.List;

import org.beetl.sql.core.SQLManager;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.ext.jfinal.JFinalBeetlSql;

public class BaseDaoImpl<T extends BaseEntity> implements BaseDao<T>
{
	protected SQLManager dao = JFinalBeetlSql.dao();
	@Override
	public List<T> find(String sqlId, Object paras) {
		return null;
	}

	@Override
	public PageQuery findByPage(String sqlId,  Class<T> clazz,PageQuery pageQuery) {
		this.dao.pageQuery(sqlId, clazz, pageQuery);
		return pageQuery;
	}

}
